/**
 * By Alpha
 * Author: alixez <alixe.z@foxmail.com>
 * Date: 2017/11/16
 */

import { request, config } from 'utils';

const { api } = config;
const { member } = api;

export async function queryMember (params) {
  return request({
    url: member.query,
    method: 'get',
    data: params,
  });
}

export const getEditInfo = params => request({
  url: member.details,
  method: 'get',
  data: params,
});
